package services;

import java.util.List;
import homes.BrandDTOHome;
import items.BrandDTO;

@SuppressWarnings("serial")
public class BrandDTOService extends GenericService<BrandDTO>{


	public List<String> getBrands() {
		return  ((BrandDTOHome)this.getHome()).getBrands();
	}

	public List<String> getCarBrands() {
		return  ((BrandDTOHome)this.getHome()).getCarBrands();
	}
	
	public List<String> getModelsOfMark(String mark) {
		return  ((BrandDTOHome)this.getHome()).getModelsOfMark(mark);
	}
	
	public List<BrandDTO> getBrandsAndModels(String type){
		return ((BrandDTOHome)this.getHome()).getBrandsAndModels(type);
	}
	
	public List<String> getTireBrands() {
		return  ((BrandDTOHome)this.getHome()).getTireBrands();
	}

}
